import threading
import time


def worker(name):
    for i in range(5):
        print(f"{name}正在工作：{i}")
        time.sleep(1)


t1 = threading.Thread(target=worker, args=('计数A',))
t2 = threading.Thread(target=worker, args=('计数B',))
t3 = threading.Thread(target=worker, args=('计数C ',))
t1.start()
t2.start()
t3.start()
print("线程执行完毕")
